import React, { Suspense } from 'react'
import './App.css';
import Routes from './router'
// import { setLoading } from './redux/actionCreator/state'

function App() {
  return (
    <div className='app'>
      <Suspense fallback={<div>页面加载中...</div>}>
        <Routes></Routes>
      </Suspense>
    </div>
  );
}

export default App;